Create Recipe

Create a new Recipe

Request
Request Body schema: application/json

: Recipe creation payload

Any of:

From T, pick a set of properties whose keys are in the union K

title
required
string or null
projectIds
required
Array of strings or null
required
object or null
_id
string or null

A class representation of the BSON ObjectId type.

creator
string or null
toolsSettings
object or null
uiSettings
object or null
object or null
object or null
createdAt
string or null <date-time>
updatedAt
string or null <date-time>
updatedBy
string or null
v2
boolean or null
Value: true
Responses
200

Ok

post/recipes
Request samples
application/json
{
  • "title": "string",
  • "projectIds": [
    ],
  • "ontology": {
    },
  • "_id": "string",
  • "creator": "string",
  • "toolsSettings": {
    },
  • "uiSettings": {
    },
  • "metadata": {
    },
  • "authz": {
    },
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "updatedBy": "string",
  • "v2": true
}
Response samples
application/json
{
  • "id": "string",
  • "url": "string",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "updatedBy": "string",
  • "creator": "string",
  • "title": "string",
  • "projectIds": [
    ],
  • "ontology": {
    },
  • "labelScript": "string",
  • "toolsSettings": {
    },
  • "uiSettings": {
    },
  • "metadata": {
    },
  • "v2": true
}